package org.momo.rpc.registry;

import org.momo.rpc.provider.model.ProviderRegistryInfo;

import java.util.List;

public interface ProviderRegistry extends Registry {

    void register(ProviderRegistryInfo providerRegistryInfo);

    void registerRetryMethod(String serviceName, String serviceVersion, List<String> retryMethods);

    void unRegister(ProviderRegistryInfo providerRegistryInfo);

}
